package com.ym.b2b.complaint.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.ym.b2b.commons.controller.BaseController;
import com.ym.b2b.complaint.service.EmBReplyService;
import com.ym.b2b.complaint.sqlbean.EmBReply;
import com.zc.commons.base.Page;
import com.zc.commons.base.Result;

@Controller
@RequestMapping("/complaint")
public class ReplyController extends BaseController {

    @Autowired
    private EmBReplyService emBReplyService;

    // 列表查询
    @RequestMapping("searchPageEmBReply.s")
    @ResponseBody
    public Result searchPageEmBReply(EmBReply emBReply, Page<EmBReply> page, HttpServletRequest req) {
        Result result = new Result();
        result = emBReplyService.searchPageEmBReply(emBReply, page);
        return result;
    }

}
